import request from '~/utils/request'
export default {
  //登录
  submitLogin(userInfo) {
    return request({
      url: '/eduCenter/member/login',
      method: 'post',
      data: userInfo
    })
  },
  // 获取用户信息
  getLoginUserInfo(){
    return request({
      url: '/eduCenter/member/getMemberInfo',
      method: 'get'
    })
  }
}
